package edu.sctu.xialei.May.day20150517two;

/**
 * Created by Administrator on 2015/5/17 0017.
 */
public class ValueToSetting {

    int num_Of_Student = 10;

    DatasOfStudents[] datas_of_students = new DatasOfStudents[num_Of_Student];

    public DatasOfStudents[] setting(){

        for (int i = 0; i < num_Of_Student; i++) {
            DatasOfStudents data = new DatasOfStudents("夏磊",15);

            data.age = data.age + i;
            data.name = data.name + i;

            datas_of_students[i] = data;
        }
        return datas_of_students;
    }

}
